

class Tree(object):

    def __init__(self):
        self.last_tree = None
        self.next_tree = None
        self.h = None
        self.w = None